//
//  NSObject+CommonClass.h
//  AoJi
//
//  Created by MinwenYi on 15-1-27.
//  Copyright (c) 2015年 xuanheng. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface NSObject (CommonClass)
-(NSURL*)getPicUrl:(NSString*)str;
-(UIColor*)getCorlor:(NSString*)colorStr;
-(NSString*)getTime:(NSString*)str;

- (UIImage *)scaleToSize:(UIImage *)img size:(CGSize)size;//拉伸图片
-(CGFloat)convertpx:(int)nums;
@end
